package com.qj.sys.convert;

import com.qj.sys.entity.dto.SysUserDto;
import com.qj.sys.entity.po.SysUserPo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author dlw
 * @date 2025-05-15 14:31
 */
// 一定要使用org.mapstruct包下的@Mapper注解
@Mapper
public interface SysUserPoConvert {
    SysUserPoConvert INSTANCE = Mappers.getMapper(SysUserPoConvert.class);

    SysUserPo convertDtoToPo(SysUserDto sysUserDto);
}
